package com.qf.service.impl;

import com.qf.dao.OrderformDao;
import com.qf.pojo.Orderform;
import com.qf.service.OrderformService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class OrderformServiceImpl implements OrderformService {
    @Autowired
    private OrderformDao orderformDao;
    @Override
    public List<Orderform> select(Orderform orderform) {
        return orderformDao.select(orderform);
    }

    @Override
    public int insert(Orderform orderform) {
        return orderformDao.insert(orderform);
    }

    @Override
    public int update(Orderform orderform) {
        return orderformDao.update(orderform);
    }

    @Override
    public int delete(List<Integer> list) {
        return orderformDao.delete(list);
    }
}
